package com.ruoyi.device.history.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.device.history.domain.BizDeviceHistory;
import com.ruoyi.device.history.mapper.BizDeviceHistoryMapper;
import com.ruoyi.device.history.service.IBizDeviceHistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 设备监测历史表Service业务层处理
 * 
 * @author breeze
 * @date 2022-12-15
 */
@Service
public class BizDeviceHistoryServiceImpl extends ServiceImpl<BizDeviceHistoryMapper,BizDeviceHistory> implements IBizDeviceHistoryService {
    
    @Autowired
    private BizDeviceHistoryMapper bizDeviceHistoryMapper;

    @Override
    public BizDeviceHistory selectBizDeviceHistoryById(Long id){
        return bizDeviceHistoryMapper.selectBizDeviceHistoryById(id);
    }
      
    @Override
    public List<BizDeviceHistory> selectBizDeviceHistoryList(BizDeviceHistory bizDeviceHistory){
        return bizDeviceHistoryMapper.selectBizDeviceHistoryList(bizDeviceHistory);
    }
}
